import { createSSRApp } from "vue";
import * as Pinia from 'pinia';
import tmui from "./tmui"
import App from "./App.vue";
import 'uno.css';
import Vue from 'vue';
const towxml = require('./wxcomponents/towxml/index')
export function createApp() {
  const app = createSSRApp(App);
  app.config.globalProperties.$towxml = towxml
  app.use(tmui, { shareDisable: false } as Tmui.tmuiConfig)
  return {
    app,
    Pinia
  };
}
